{section name=warning loop=$warnings}
{strip}
    <div class="warning">
        {$warnings[warning]}
    </div>
{/strip}
{/section}